//
//  AppDelegate.swift
//  TestGuideView
//
//  Created by Mac on 2021/3/19.
//

import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {


    var window: UIWindow?
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        loadWelcomePage()
        return true
    }
    
    private func loadWelcomePage() {
        GuideManager.share.images = [UIImage(named: "start_page1")!, UIImage(named: "start_page2")!, UIImage(named: "start_page3")!]
        GuideManager.share.enterImage = UIImage(named: "start_enter")
        //GuideManager.share.isShowPageControl = false
        GuideManager.share.checkVersion()
    }
}

